package com.yf.springbootgenerator.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbUserDoctorExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TbUserDoctorExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("Id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("Id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("Id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("Id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("Id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("Id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("Id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("Id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("Id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("Id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("Id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("Id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andRealNameIsNull() {
            addCriterion("real_name is null");
            return (Criteria) this;
        }

        public Criteria andRealNameIsNotNull() {
            addCriterion("real_name is not null");
            return (Criteria) this;
        }

        public Criteria andRealNameEqualTo(String value) {
            addCriterion("real_name =", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotEqualTo(String value) {
            addCriterion("real_name <>", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameGreaterThan(String value) {
            addCriterion("real_name >", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameGreaterThanOrEqualTo(String value) {
            addCriterion("real_name >=", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameLessThan(String value) {
            addCriterion("real_name <", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameLessThanOrEqualTo(String value) {
            addCriterion("real_name <=", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameLike(String value) {
            addCriterion("real_name like", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotLike(String value) {
            addCriterion("real_name not like", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameIn(List<String> values) {
            addCriterion("real_name in", values, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotIn(List<String> values) {
            addCriterion("real_name not in", values, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameBetween(String value1, String value2) {
            addCriterion("real_name between", value1, value2, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotBetween(String value1, String value2) {
            addCriterion("real_name not between", value1, value2, "realName");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andHospitalIsNull() {
            addCriterion("hospital is null");
            return (Criteria) this;
        }

        public Criteria andHospitalIsNotNull() {
            addCriterion("hospital is not null");
            return (Criteria) this;
        }

        public Criteria andHospitalEqualTo(String value) {
            addCriterion("hospital =", value, "hospital");
            return (Criteria) this;
        }

        public Criteria andHospitalNotEqualTo(String value) {
            addCriterion("hospital <>", value, "hospital");
            return (Criteria) this;
        }

        public Criteria andHospitalGreaterThan(String value) {
            addCriterion("hospital >", value, "hospital");
            return (Criteria) this;
        }

        public Criteria andHospitalGreaterThanOrEqualTo(String value) {
            addCriterion("hospital >=", value, "hospital");
            return (Criteria) this;
        }

        public Criteria andHospitalLessThan(String value) {
            addCriterion("hospital <", value, "hospital");
            return (Criteria) this;
        }

        public Criteria andHospitalLessThanOrEqualTo(String value) {
            addCriterion("hospital <=", value, "hospital");
            return (Criteria) this;
        }

        public Criteria andHospitalLike(String value) {
            addCriterion("hospital like", value, "hospital");
            return (Criteria) this;
        }

        public Criteria andHospitalNotLike(String value) {
            addCriterion("hospital not like", value, "hospital");
            return (Criteria) this;
        }

        public Criteria andHospitalIn(List<String> values) {
            addCriterion("hospital in", values, "hospital");
            return (Criteria) this;
        }

        public Criteria andHospitalNotIn(List<String> values) {
            addCriterion("hospital not in", values, "hospital");
            return (Criteria) this;
        }

        public Criteria andHospitalBetween(String value1, String value2) {
            addCriterion("hospital between", value1, value2, "hospital");
            return (Criteria) this;
        }

        public Criteria andHospitalNotBetween(String value1, String value2) {
            addCriterion("hospital not between", value1, value2, "hospital");
            return (Criteria) this;
        }

        public Criteria andEducationDegreeeIsNull() {
            addCriterion("education_degreee is null");
            return (Criteria) this;
        }

        public Criteria andEducationDegreeeIsNotNull() {
            addCriterion("education_degreee is not null");
            return (Criteria) this;
        }

        public Criteria andEducationDegreeeEqualTo(Integer value) {
            addCriterion("education_degreee =", value, "educationDegreee");
            return (Criteria) this;
        }

        public Criteria andEducationDegreeeNotEqualTo(Integer value) {
            addCriterion("education_degreee <>", value, "educationDegreee");
            return (Criteria) this;
        }

        public Criteria andEducationDegreeeGreaterThan(Integer value) {
            addCriterion("education_degreee >", value, "educationDegreee");
            return (Criteria) this;
        }

        public Criteria andEducationDegreeeGreaterThanOrEqualTo(Integer value) {
            addCriterion("education_degreee >=", value, "educationDegreee");
            return (Criteria) this;
        }

        public Criteria andEducationDegreeeLessThan(Integer value) {
            addCriterion("education_degreee <", value, "educationDegreee");
            return (Criteria) this;
        }

        public Criteria andEducationDegreeeLessThanOrEqualTo(Integer value) {
            addCriterion("education_degreee <=", value, "educationDegreee");
            return (Criteria) this;
        }

        public Criteria andEducationDegreeeIn(List<Integer> values) {
            addCriterion("education_degreee in", values, "educationDegreee");
            return (Criteria) this;
        }

        public Criteria andEducationDegreeeNotIn(List<Integer> values) {
            addCriterion("education_degreee not in", values, "educationDegreee");
            return (Criteria) this;
        }

        public Criteria andEducationDegreeeBetween(Integer value1, Integer value2) {
            addCriterion("education_degreee between", value1, value2, "educationDegreee");
            return (Criteria) this;
        }

        public Criteria andEducationDegreeeNotBetween(Integer value1, Integer value2) {
            addCriterion("education_degreee not between", value1, value2, "educationDegreee");
            return (Criteria) this;
        }

        public Criteria andDepartmentIsNull() {
            addCriterion("department is null");
            return (Criteria) this;
        }

        public Criteria andDepartmentIsNotNull() {
            addCriterion("department is not null");
            return (Criteria) this;
        }

        public Criteria andDepartmentEqualTo(String value) {
            addCriterion("department =", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentNotEqualTo(String value) {
            addCriterion("department <>", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentGreaterThan(String value) {
            addCriterion("department >", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentGreaterThanOrEqualTo(String value) {
            addCriterion("department >=", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentLessThan(String value) {
            addCriterion("department <", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentLessThanOrEqualTo(String value) {
            addCriterion("department <=", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentLike(String value) {
            addCriterion("department like", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentNotLike(String value) {
            addCriterion("department not like", value, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentIn(List<String> values) {
            addCriterion("department in", values, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentNotIn(List<String> values) {
            addCriterion("department not in", values, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentBetween(String value1, String value2) {
            addCriterion("department between", value1, value2, "department");
            return (Criteria) this;
        }

        public Criteria andDepartmentNotBetween(String value1, String value2) {
            addCriterion("department not between", value1, value2, "department");
            return (Criteria) this;
        }

        public Criteria andProfessionalTitleIsNull() {
            addCriterion("professional_title is null");
            return (Criteria) this;
        }

        public Criteria andProfessionalTitleIsNotNull() {
            addCriterion("professional_title is not null");
            return (Criteria) this;
        }

        public Criteria andProfessionalTitleEqualTo(Integer value) {
            addCriterion("professional_title =", value, "professionalTitle");
            return (Criteria) this;
        }

        public Criteria andProfessionalTitleNotEqualTo(Integer value) {
            addCriterion("professional_title <>", value, "professionalTitle");
            return (Criteria) this;
        }

        public Criteria andProfessionalTitleGreaterThan(Integer value) {
            addCriterion("professional_title >", value, "professionalTitle");
            return (Criteria) this;
        }

        public Criteria andProfessionalTitleGreaterThanOrEqualTo(Integer value) {
            addCriterion("professional_title >=", value, "professionalTitle");
            return (Criteria) this;
        }

        public Criteria andProfessionalTitleLessThan(Integer value) {
            addCriterion("professional_title <", value, "professionalTitle");
            return (Criteria) this;
        }

        public Criteria andProfessionalTitleLessThanOrEqualTo(Integer value) {
            addCriterion("professional_title <=", value, "professionalTitle");
            return (Criteria) this;
        }

        public Criteria andProfessionalTitleIn(List<Integer> values) {
            addCriterion("professional_title in", values, "professionalTitle");
            return (Criteria) this;
        }

        public Criteria andProfessionalTitleNotIn(List<Integer> values) {
            addCriterion("professional_title not in", values, "professionalTitle");
            return (Criteria) this;
        }

        public Criteria andProfessionalTitleBetween(Integer value1, Integer value2) {
            addCriterion("professional_title between", value1, value2, "professionalTitle");
            return (Criteria) this;
        }

        public Criteria andProfessionalTitleNotBetween(Integer value1, Integer value2) {
            addCriterion("professional_title not between", value1, value2, "professionalTitle");
            return (Criteria) this;
        }

        public Criteria andYearsOfWorkingIsNull() {
            addCriterion("years_of_working is null");
            return (Criteria) this;
        }

        public Criteria andYearsOfWorkingIsNotNull() {
            addCriterion("years_of_working is not null");
            return (Criteria) this;
        }

        public Criteria andYearsOfWorkingEqualTo(Integer value) {
            addCriterion("years_of_working =", value, "yearsOfWorking");
            return (Criteria) this;
        }

        public Criteria andYearsOfWorkingNotEqualTo(Integer value) {
            addCriterion("years_of_working <>", value, "yearsOfWorking");
            return (Criteria) this;
        }

        public Criteria andYearsOfWorkingGreaterThan(Integer value) {
            addCriterion("years_of_working >", value, "yearsOfWorking");
            return (Criteria) this;
        }

        public Criteria andYearsOfWorkingGreaterThanOrEqualTo(Integer value) {
            addCriterion("years_of_working >=", value, "yearsOfWorking");
            return (Criteria) this;
        }

        public Criteria andYearsOfWorkingLessThan(Integer value) {
            addCriterion("years_of_working <", value, "yearsOfWorking");
            return (Criteria) this;
        }

        public Criteria andYearsOfWorkingLessThanOrEqualTo(Integer value) {
            addCriterion("years_of_working <=", value, "yearsOfWorking");
            return (Criteria) this;
        }

        public Criteria andYearsOfWorkingIn(List<Integer> values) {
            addCriterion("years_of_working in", values, "yearsOfWorking");
            return (Criteria) this;
        }

        public Criteria andYearsOfWorkingNotIn(List<Integer> values) {
            addCriterion("years_of_working not in", values, "yearsOfWorking");
            return (Criteria) this;
        }

        public Criteria andYearsOfWorkingBetween(Integer value1, Integer value2) {
            addCriterion("years_of_working between", value1, value2, "yearsOfWorking");
            return (Criteria) this;
        }

        public Criteria andYearsOfWorkingNotBetween(Integer value1, Integer value2) {
            addCriterion("years_of_working not between", value1, value2, "yearsOfWorking");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardNumberIsNull() {
            addCriterion("citizen_id_card_number is null");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardNumberIsNotNull() {
            addCriterion("citizen_id_card_number is not null");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardNumberEqualTo(String value) {
            addCriterion("citizen_id_card_number =", value, "citizenIdCardNumber");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardNumberNotEqualTo(String value) {
            addCriterion("citizen_id_card_number <>", value, "citizenIdCardNumber");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardNumberGreaterThan(String value) {
            addCriterion("citizen_id_card_number >", value, "citizenIdCardNumber");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardNumberGreaterThanOrEqualTo(String value) {
            addCriterion("citizen_id_card_number >=", value, "citizenIdCardNumber");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardNumberLessThan(String value) {
            addCriterion("citizen_id_card_number <", value, "citizenIdCardNumber");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardNumberLessThanOrEqualTo(String value) {
            addCriterion("citizen_id_card_number <=", value, "citizenIdCardNumber");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardNumberLike(String value) {
            addCriterion("citizen_id_card_number like", value, "citizenIdCardNumber");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardNumberNotLike(String value) {
            addCriterion("citizen_id_card_number not like", value, "citizenIdCardNumber");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardNumberIn(List<String> values) {
            addCriterion("citizen_id_card_number in", values, "citizenIdCardNumber");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardNumberNotIn(List<String> values) {
            addCriterion("citizen_id_card_number not in", values, "citizenIdCardNumber");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardNumberBetween(String value1, String value2) {
            addCriterion("citizen_id_card_number between", value1, value2, "citizenIdCardNumber");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardNumberNotBetween(String value1, String value2) {
            addCriterion("citizen_id_card_number not between", value1, value2, "citizenIdCardNumber");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardFrontIsNull() {
            addCriterion("citizen_id_card_front is null");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardFrontIsNotNull() {
            addCriterion("citizen_id_card_front is not null");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardFrontEqualTo(String value) {
            addCriterion("citizen_id_card_front =", value, "citizenIdCardFront");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardFrontNotEqualTo(String value) {
            addCriterion("citizen_id_card_front <>", value, "citizenIdCardFront");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardFrontGreaterThan(String value) {
            addCriterion("citizen_id_card_front >", value, "citizenIdCardFront");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardFrontGreaterThanOrEqualTo(String value) {
            addCriterion("citizen_id_card_front >=", value, "citizenIdCardFront");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardFrontLessThan(String value) {
            addCriterion("citizen_id_card_front <", value, "citizenIdCardFront");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardFrontLessThanOrEqualTo(String value) {
            addCriterion("citizen_id_card_front <=", value, "citizenIdCardFront");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardFrontLike(String value) {
            addCriterion("citizen_id_card_front like", value, "citizenIdCardFront");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardFrontNotLike(String value) {
            addCriterion("citizen_id_card_front not like", value, "citizenIdCardFront");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardFrontIn(List<String> values) {
            addCriterion("citizen_id_card_front in", values, "citizenIdCardFront");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardFrontNotIn(List<String> values) {
            addCriterion("citizen_id_card_front not in", values, "citizenIdCardFront");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardFrontBetween(String value1, String value2) {
            addCriterion("citizen_id_card_front between", value1, value2, "citizenIdCardFront");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardFrontNotBetween(String value1, String value2) {
            addCriterion("citizen_id_card_front not between", value1, value2, "citizenIdCardFront");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardBackIsNull() {
            addCriterion("citizen_id_card_back is null");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardBackIsNotNull() {
            addCriterion("citizen_id_card_back is not null");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardBackEqualTo(String value) {
            addCriterion("citizen_id_card_back =", value, "citizenIdCardBack");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardBackNotEqualTo(String value) {
            addCriterion("citizen_id_card_back <>", value, "citizenIdCardBack");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardBackGreaterThan(String value) {
            addCriterion("citizen_id_card_back >", value, "citizenIdCardBack");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardBackGreaterThanOrEqualTo(String value) {
            addCriterion("citizen_id_card_back >=", value, "citizenIdCardBack");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardBackLessThan(String value) {
            addCriterion("citizen_id_card_back <", value, "citizenIdCardBack");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardBackLessThanOrEqualTo(String value) {
            addCriterion("citizen_id_card_back <=", value, "citizenIdCardBack");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardBackLike(String value) {
            addCriterion("citizen_id_card_back like", value, "citizenIdCardBack");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardBackNotLike(String value) {
            addCriterion("citizen_id_card_back not like", value, "citizenIdCardBack");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardBackIn(List<String> values) {
            addCriterion("citizen_id_card_back in", values, "citizenIdCardBack");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardBackNotIn(List<String> values) {
            addCriterion("citizen_id_card_back not in", values, "citizenIdCardBack");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardBackBetween(String value1, String value2) {
            addCriterion("citizen_id_card_back between", value1, value2, "citizenIdCardBack");
            return (Criteria) this;
        }

        public Criteria andCitizenIdCardBackNotBetween(String value1, String value2) {
            addCriterion("citizen_id_card_back not between", value1, value2, "citizenIdCardBack");
            return (Criteria) this;
        }

        public Criteria andPhysicianPracticeLicenseIsNull() {
            addCriterion("physician_practice_license is null");
            return (Criteria) this;
        }

        public Criteria andPhysicianPracticeLicenseIsNotNull() {
            addCriterion("physician_practice_license is not null");
            return (Criteria) this;
        }

        public Criteria andPhysicianPracticeLicenseEqualTo(String value) {
            addCriterion("physician_practice_license =", value, "physicianPracticeLicense");
            return (Criteria) this;
        }

        public Criteria andPhysicianPracticeLicenseNotEqualTo(String value) {
            addCriterion("physician_practice_license <>", value, "physicianPracticeLicense");
            return (Criteria) this;
        }

        public Criteria andPhysicianPracticeLicenseGreaterThan(String value) {
            addCriterion("physician_practice_license >", value, "physicianPracticeLicense");
            return (Criteria) this;
        }

        public Criteria andPhysicianPracticeLicenseGreaterThanOrEqualTo(String value) {
            addCriterion("physician_practice_license >=", value, "physicianPracticeLicense");
            return (Criteria) this;
        }

        public Criteria andPhysicianPracticeLicenseLessThan(String value) {
            addCriterion("physician_practice_license <", value, "physicianPracticeLicense");
            return (Criteria) this;
        }

        public Criteria andPhysicianPracticeLicenseLessThanOrEqualTo(String value) {
            addCriterion("physician_practice_license <=", value, "physicianPracticeLicense");
            return (Criteria) this;
        }

        public Criteria andPhysicianPracticeLicenseLike(String value) {
            addCriterion("physician_practice_license like", value, "physicianPracticeLicense");
            return (Criteria) this;
        }

        public Criteria andPhysicianPracticeLicenseNotLike(String value) {
            addCriterion("physician_practice_license not like", value, "physicianPracticeLicense");
            return (Criteria) this;
        }

        public Criteria andPhysicianPracticeLicenseIn(List<String> values) {
            addCriterion("physician_practice_license in", values, "physicianPracticeLicense");
            return (Criteria) this;
        }

        public Criteria andPhysicianPracticeLicenseNotIn(List<String> values) {
            addCriterion("physician_practice_license not in", values, "physicianPracticeLicense");
            return (Criteria) this;
        }

        public Criteria andPhysicianPracticeLicenseBetween(String value1, String value2) {
            addCriterion("physician_practice_license between", value1, value2, "physicianPracticeLicense");
            return (Criteria) this;
        }

        public Criteria andPhysicianPracticeLicenseNotBetween(String value1, String value2) {
            addCriterion("physician_practice_license not between", value1, value2, "physicianPracticeLicense");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("update_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_date =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_date <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_date >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_date >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_date <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_date <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_date in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_date not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_date between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_date not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}